#初始
#1
list1=[1,2,3,4,5]
print(list1)
#2
list1.append(6)
print(list1)
#3
list1.remove(3)
print(list1)
#4
list1[1]=8
print(list1)
#5
i=0
for e in list1:
    if e==8:
        print(i)
    i+=1
#6
for e in list1:
    print(e)
#7
list2=[7,8,9,']']
for e in list2:
    list1.append(e)
print(list1)
#8
list1.extend([10, 11, 12,']'])
print(list1)
#9
print(list1[2:5])
# 10
list1.pop(2)
list1.insert(2,13)
list1.insert(3,14)
print(list1)

